VERSION 5.00
Begin VB.Form frmCancelDirective 
   Caption         =   "Extracting XML data..."
   ClientHeight    =   1830
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   3045
   LinkTopic       =   "Form1"
   ScaleHeight     =   1830
   ScaleWidth      =   3045
   StartUpPosition =   2  'CenterScreen
   Begin VB.CommandButton Command1 
      Caption         =   "Cancel Directive"
      Height          =   495
      Left            =   720
      TabIndex        =   0
      Top             =   600
      Width           =   1335
   End
End
Attribute VB_Name = "frmCancelDirective"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit



Private Sub Command1_Click()
    Dim objTest As clsCancelDirective
    Dim strErrMsg As String
    Dim arParams(2) As String
    
    arParams(0) = 2
    arParams(1) = "imv0411"
    arParams(2) = "ian.weatherburn@liberty.co.za"
    
    Set objTest = New clsCancelDirective
    If objTest.CancelDirective(arParams, strErrMsg) Then
        MsgBox "It worked!"
    Else
        MsgBox "Didn't work cos: " & strErrMsg
    End If
    
    Set objTest = Nothing
End Sub
